package com.weds.edpf.core .service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.List;

import com.weds.core.base.BaseService;
import com.weds.edpf.core.mapper .DevModuleMapper;
import com.weds.edpf.core.entity .DevModuleEntity;

/**
 * @Author sxm
 * @Description DevModule管理
 * @Date 2020-06-12
 */
@Service
public class DevModuleService extends BaseService {

	@Autowired
	private DevModuleMapper devModuleMapper;

	private Logger log = LogManager.getLogger();


	public int insert(DevModuleEntity record) {
		return devModuleMapper.insert(record);
	}

	public int insertSelective(DevModuleEntity record) {
		return devModuleMapper.insertSelective(record);
	}

    	public List<DevModuleEntity> selectListByEntity(DevModuleEntity record) {
		return devModuleMapper.selectListByEntity(record);
	}

    
    	public int insertBatch(List<DevModuleEntity> list) {
		return devModuleMapper.insertBatch(list);
	}
	}
